<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>工资管理</title>
    <jsp:include page="/static/common/easyui_header.jsp"></jsp:include>
    <script src="/static/js/views/salary.js"></script>
</head>
<body>
<table id="salary_datagrid"></table>
<div id="salary_buttons">
        <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="eidtSal">编辑</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="delSal">删除</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadSal">刷新</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-import',plain:true" data-cmd="exlImport">导入</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-export',plain:true" data-cmd="export">导出</a>
        <input id="keyword" name="keyword" class="easyui-textbox" data-options="prompt:'员工姓名'"></input>
        <input id="beginTime" name="beginTime" type="text" class="easyui-datebox" data-options="prompt:'起始时间'"></input>
        <input id="endTime" name="endTime"type= "text" class= "easyui-datebox" data-options="prompt:'结束时间'"> </input>
    排序：<select id="order" class="easyui-combobox" name="order" style="width:100px;">
        <option value="month">月份</option>
        <option value="finalSalay">总工资</option>
        <option value="workDays">出勤天数</option>
        <option value="lateDays">迟到天数</option>
        <option value="earlyDays">早退天数</option>
    </select>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchSal">查询</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-account',plain:true" data-cmd="accountSal">核算</a>
</div>
<div id="salary_add_dialog" style="padding: 20px">
    <form id="salary_add_form" method="post">
        <table>
            <h1 id="employeeName" style="color: #00ee00;text-align: center"></h1>
            <tr>
                <td>基础工资:</td>
                <td><input name="salary" class="easyui-textbox"></td>
                <td><input type="hidden" name="id"></td>
            </tr>
            <tr>
                <td>月份:</td>
                <td><input name="month" class="easyui-textbox"></td>
            </tr>
        </table>
    </form>
</div>
<div id="salary_add_buttons">
    <a class="easyui-linkbutton" data-options="plain:true" data-cmd="saveSal">保存</a>
    <a class="easyui-linkbutton" data-options="plain:true" data-cmd="cancelSal">取消</a>
</div>
<div id="salary_import">
    <form id="import_form" method="post" enctype="multipart/form-data">
        <table>
            <tr>
                工资表上传:<input id="salary_xls" name="file" class="easyui-filebox" style="width:200px"
                             data-options="accept:'application/vnd.ms-excel',multiple:false,buttonText:'请选择要上传的工资表'"><br>
            </tr>
            <tr>
                <a id="download" class="easyui-linkbutton" iconCls="icon-redo" plain="true" data-cmd="download">模板下载</a>
                <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="upload">上传</a>
                <a class="easyui-linkbutton" iconCls="icon-undo" plain="true" data-cmd="undo">取消</a>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
